<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	{dream include file="../Common/header.html"}
	<link rel="stylesheet" href="{dream $smarty.const.__PUBLIC__}/Css/common.css" />
	<link rel="stylesheet" href="{dream $smarty.const.__PUBLIC__}/Css/question.css" />
	<script type="text/javascript" src="{dream $smarty.const.__PUBLIC__}/Js/question.js"></script>

	<div id='location'>
		<a href="{dream $smarty.const.__APP__}?c=category&cid=0">全部分类</a>
			{dream section loop=$temp name=n}
				&gt;&nbsp;
				{dream if $smarty.section.n.last}
					{dream $temp[n].title}
				{dream else}
					<a href="{dream $smarty.const.__APP__}?c=category&cid={dream $temp[n].cid}">{dream $temp[n].title}</a>
				{dream /if}
				&nbsp;&nbsp;
			{dream /section}
	</div>

<!--------------------中部-------------------->
	<div id='center-wrap'>
		<div id='center'>
			<div id='left'>
				<div id='answer-info'>
					<!-- 如果没有解决用wait -->
					<div class='ans-state wait'></div>
					<div class='answer'>
						<p class='ans-title'>{dream $askinfo.content}
							<b class='point'>{dream $askinfo.reward}</b>
						</p>
					</div>
					<ul>
						<li><a href="">{dream $askinfo.username}</a></li>
						<li><i class='level lv1' title='Level 1'></i></li>
						<li>{dream $askinfo.time}</li>
				
					</ul>
					<div class='ianswer'>
						<form action="{dream $samrty.const.__APP__}?c=ask&a=anw" method='POST'>
							<p>我来回答</p>
							<textarea name="content"></textarea>
							<input type="hidden" name='qid' value='{dream $askinfo.asid}'>
							<input type="submit" value='提交回答' id='anw-sub'/>
						</form>
					</div>
					<!-- 满意回答 -->
					{dream if ($askinfo.solve==1)}
					<div class='ans-right'>
						<p class='title'><i></i>满意回答<span></span></p>
						<p class='ans-cons'>{dream $satisfy.content}</p>
						<dl>
							<dt>
								<a href=""><img src="{dream $smarty.const.__PUBLIC__}/Images/noface.gif" width='48' height='48'/></a>
							</dt>
							<dd>
								<a href="">{dream $satisfy.username}</a>
							</dd>
							<dd><i class='level lv1'></i></dd>
							<dd>{dream $satisfy.adopt}%</dd>
						</dl>
					</div>
					{dream /if}
					<!-- 满意回答 -->
				</div>

				<div id='all-answer'>
					<div class='ans-icon'></div>
					<p class='title'>共 <strong>{dream $c}</strong> 条回答</p>
					<ul>
						{dream section loop=$anwinfo name=x}
						<li>
							<div class='face'>
								<a href="">
									<img src="{dream $smarty.const.__PUBLIC__}/Images/noface.gif" width='48' height='48'/>
								</a>
							</div>
							<div class='cons blue'>
								<p>{dream $anwinfo[x].content}<span style='color:#888;font-size:12px'>&nbsp;&nbsp;({dream $anwinfo[x].time})</span></p>
							</div>
							
								<a href="{dream $smarty.const.__APP__}?c=ask&a=adopt&anid={dream $anwinfo[x].anid}" class='adopt-btn'>采纳</a>
							
						</li>
						{dream /section}
					</ul>
					<div class='page'>
						<a href="">1</a>
						<a href="">2</a>
						<a href="">3</a>
						<a href="">4</a>
					</div>
				</div>
				<div id='other-ask'>
					<p class='title'>待解决的相关问题</p>
					<table>
						{dream section loop=$notaskinfo name=x}
						<tr>
							<td class='t1'><a href="">{dream $notaskinfo[x].content}</a></td>
							<td>{dream $notaskinfo[x].answer}&nbsp;回答</td>
							<td>{dream $notaskinfo[x].time}</td>
						</tr>
						{dream /section}
					</table>
				</div>
			</div>
		<!-- 右侧 -->
{dream include file="../Common/right.html"}
<!-- ---右侧结束---- -->
			
		</div>

	</div>
	
<!--------------------中部结束-------------------->

<!-- 底部 -->
	{dream include file="../Common/footer.html"}
</body>
</html>
<!-- 底部结束 -->